export APP_HOME=/usr/local/wxpokersvr/dev
tpid=`cat ${APP_HOME}/sbserver.pid | awk '{print $1}'`  
tpid=`ps -aef | grep $tpid | awk '{print $2}' |grep $tpid`  
if [ ${tpid} ]; then  
        kill -9 $tpid  
fi  